package com.tarim.streetdance.model;

import com.tarim.streetdance.vo.Criteria;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class Video extends Criteria implements Serializable {
    private Long id;

    private Long userId;

    private String userCode;

    private String userName;

    private String title;

    private String introduction;

    private String fileId;

    private String fileName;

    private Long likenum;

    private Long viewsnum;

    private Long collectnum;

    private Integer status;

    private Date modifyTime;

    private Date createTime;

    private Integer dr;

    private User user;

    private List<Type> typeList;

    private List<CommentStair> commentStairList;

    public Video(Long id, Long userId, String userCode, String userName, String title, String introduction, String fileId, String fileName, Long likenum, Long viewsnum, Long collectnum, Integer status, Date modifyTime, Date createTime, Integer dr) {
        this.id = id;
        this.userId = userId;
        this.userCode = userCode;
        this.userName = userName;
        this.title = title;
        this.introduction = introduction;
        this.fileId = fileId;
        this.fileName = fileName;
        this.likenum = likenum;
        this.viewsnum = viewsnum;
        this.collectnum = collectnum;
        this.status = status;
        this.modifyTime = modifyTime;
        this.createTime = createTime;
        this.dr = dr;
    }

    public Video() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode == null ? null : userCode.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction == null ? null : introduction.trim();
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId == null ? null : fileId.trim();
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName == null ? null : fileName.trim();
    }

    public Long getLikenum() {
        return likenum;
    }

    public void setLikenum(Long likenum) {
        this.likenum = likenum;
    }

    public Long getViewsnum() {
        return viewsnum;
    }

    public void setViewsnum(Long viewsnum) {
        this.viewsnum = viewsnum;
    }

    public Long getCollectnum() {
        return collectnum;
    }

    public void setCollectnum(Long collectnum) {
        this.collectnum = collectnum;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getDr() {
        return dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public List<Type> getTypeList() {
        return typeList;
    }

    public void setTypeList(List<Type> typeList) {
        this.typeList = typeList;
    }

    public List<CommentStair> getCommentStairList() {
        return commentStairList;
    }

    public void setCommentStairList(List<CommentStair> commentStairList) {
        this.commentStairList = commentStairList;
    }
}